using System;
using UnityEngine;

[Serializable]
public class wonenable2 : MonoBehaviour
{
	public GameObject won2;

	public GameObject won3;

	public GameObject won4;

	public GameObject won5;

	public GameObject won6;

	public GameObject won7;

	public GameObject won8;

	public void Update()
	{
		if (PlayerPrefs.GetInt("b2r2") == 1)
		{
			won2.active = true;
		}
		if (PlayerPrefs.GetInt("b3r2") == 1)
		{
			won3.active = true;
		}
		if (PlayerPrefs.GetInt("b4r2") == 1)
		{
			won4.active = true;
		}
		if (PlayerPrefs.GetInt("b5r2") == 1)
		{
			won5.active = true;
		}
		if (PlayerPrefs.GetInt("b6r2") == 1)
		{
			won6.active = true;
		}
		if (PlayerPrefs.GetInt("b7r2") == 1)
		{
			won7.active = true;
		}
		if (PlayerPrefs.GetInt("b8r2") == 1)
		{
			won8.active = true;
		}
	}

	public void Main()
	{
	}
}
